﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entangle
{
    [Serializable]
    public class PartnerState
    {
        public PartnerStates State;
        public TimeSpan Time;
        public string Message;
        public DateTime CreationTime;
        [NonSerialized]
        public DateTime ArrivalTime;

        public PartnerState() { }
        public PartnerState(PartnerStates state, TimeSpan time, string message)
        {
            State = state;
            Time = time;
            Message = message;
            CreationTime = DateTime.Now;
        }
    }
    public enum PartnerStates
    {
        Active,
        Idle,
        Busy,
        Offline,
        Unknown
    }
}
